from django.db import models

# Create your models here.
from django.db import models
# Create your models here.
class Stumodel(models.Model):
    name=models.CharField(max_length=30)
    sex=models.CharField("性别",max_length=30,null=True)
    city = models.CharField("籍贯",max_length=30, null=True)
    degree = models.CharField("学历",max_length=30, null=True)
    age = models.IntegerField("年龄",null=True)
    classbj=models.CharField(max_length=30)
    shichang=models.CharField(max_length=30,null=True)
    phone=models.CharField(max_length=30,null=True)
    parphone=models.CharField(max_length=30,null=True)
    level=models.CharField(max_length=30,null=True)
    class Meta:
        db_table = 'student'
